<!--筑学习弹出框-->
<template>
  <section v-if="isShow" class="inner-dialog-wrap" @click="back">
    <div @click.stop="show" class="dialog">
      <h2>
        <p class="title-my">温馨提示</p>
      </h2>
      <section class="block pdv-3 pdh-3">
        <!--    <div class="score-item" v-for="item in prop">
              <div class="text-wrap">
                <div class="title">{{item.pfxm}} ({{item.score}})</div>
                <div class="tip">{{item.pfbz}}</div>
              </div>
              <div class="input-wrap" v-if="false">
                <input v-model="item.value" type="text">
              </div>
            </div>-->

        <div class="input-wrap" v-html="prop">

          <!--      <input v-model="apppraiseValue" placeholder="请输入评分" type="text">-->
        </div>
        <div class="pdv-3"></div>
        <div @click.stop="save()" class="default-block-btn">确认</div>
        <div class="pdv-2"></div>

      </section>
    </div>

  </section>

</template>

<script>
  import tools from '@/utils/tools'
  export default {
    name: 'answerEverydayDialog',
    props: {
      prop: {
        type: String,
        default: ''
      }
    },
    data () {
      return {
        isShow: true,
        routeName: '1',
        pageIndex: 1,
        pageSize: 10,
        list: [],
        options: {
          pullUpLoad: true,
          scrollbar: false
        },
        data: {},
        apppraiseValue: ''
      }
    },
    created () {
      console.log('propprop=',this.prop)
    },
    methods: {
      show () {
        this.isShow = true
      },
      back () {
        this.isShow = false
      },
      save (data) {
        this.back()
      }
      /*save () {
        if (this.apppraiseValue === '') {
          return tools.tip('请输入评分')
        }
        this.$emit('onSubmit', this.prop, this.apppraiseValue)
      }*/
    }
  }
</script>

<style lang="scss" scoped>
.cube-dialog-title{

}
.block{
  border-radius: 0 0 5PX 5PX;
}
.title-my{
  padding: 0 0.2rem;
  line-height: 1.2rem;
  background: #f1f1f1;
  color: #333;
  font-size: 20PX;
  align-items: center;
  width: 100%;
  display: flex;
  justify-content: center;
  border-radius: 5PX 5PX 0 0;
}
.input-wrap{
  padding: 0.13333rem;
  white-space: normal;
  word-break: break-all;
  text-align: justify;
  overflow-y: auto;
  overflow-x: auto;
  max-height: 11rem;
  font-size: 18PX;
  font-weight: 400;
  font-family: PingFang SC,miui,system-ui,-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,sans-serif;
  color: #333;
}

</style>
